package com.RKB.service;

import com.RKB.pojo.*;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface questionbankService {
    public List<questionbank> findAll();
    public List<questionbank>  findByQuestion(String question);
    public void toAddQuestion(questionbank addquestion);
    public List<questionbank> findByType(String type);
    public List<Integer> findIdByType(String type);
    public List<questionbank> findById(Integer id);
    public List<answerType> findCorrect();
    public String findTypeById(Integer id);

    public void insertErr_log(Err_log errLog);

    public void insertErr_Questions(List<Err_questionbank> errQuestionbanks);

    public  List<Err_questionIds_time> getErr_ids(String username);

    public List<Err_questions_time> getErr_questionbank(String username);
}
